<template>
    <div>{{message}}</div>
    <div>{{obj.message}}</div>
</template>

<script setup>
import {reactive,toRef} from 'vue'
const obj=reactive({message:'刚好'})
const message=toRef(obj,'message');
setTimeout(()=>{
    message.value='bbbbbb'
},2000)

</script>